package com.iotechn.unimall.data.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description: 分销人员 余额明细表
 * User: rize
 * Date: 2019/11/28
 * Time: 12:36
 */
@Data
@TableName("unimall_distribution_balance_detail")
public class DistributionBalanceDetailDO extends SuperDO {

    @TableField("distribution_id")
    private Long distributionId;

    /**
     * 这个字段能不传就不传，这个字段是用来订单解冻的
     */
    @TableField("order_no")
    private String orderNo;

    /**
     * 余额变化差值
     */
    @TableField("balance_delta")
    private Integer balanceDelta;

    @TableField("freeze_balance_delta")
    private Integer freezeBalanceDelta;

    /**
     * 变动后结算余额
     */
    private Integer balance;

    @TableField("freeze_balance")
    private Integer freezeBalance;

    /**
     * 变动描述
     */
    private String description;

}
